package com.example.userlogincenter.userCenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tangshen
 * @since 2022-11-02
 */
@Getter
@Setter
@TableName("center_user")
public class CenterUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
      @TableId(value = "userid", type = IdType.AUTO)
    private Long userid;

    /**
     * 手机号
     */
    private String phonenumber;

    private String nickname;

    /**
     * MD5(MD5(pass明文+固定salt)+salt)
     */
    private String userpassword;

    private String salt;


    /**
     * 用户权限
     */
    private Integer userstatus;

    /**
     * 性别
     */
    private Integer sex;

    /**
     * 头像
     */
    private String headimage;

    /**
     * 邮箱
     */
    private String mail;

    /**
     * 用户是否处于锁状态
     */
    private Long islock;

    /**
     *
     * 用户签名Key
     * */
    private String accessKey;


    /**
     *
     *用户签名Secret
     * */
    private String asscessSecret;

    /**
     *
     * 签名言
     * */
    private String KeySalt;

    /**
     *
     * 用户角色
     * */
    private Integer Role;

}
